package top.baselitch.sample.dao;

import android.database.Cursor;

import top.baselitch.liteorm.DaoExecutor;
import top.baselitch.liteorm.annotation.DBInsert;
import top.baselitch.liteorm.annotation.DBQuery;
import top.baselitch.liteorm.annotation.TableFields;
import top.baselitch.sample.beans.Users;

public interface UsersDao {
    @DBInsert(tableMode = Users.class)
    DaoExecutor<Users> addUser(@TableFields Users user);

    @DBQuery(tableMode = Users.class)
    DaoExecutor<Void> getAllUser();
}
